#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>

union MoneyType
{
	int moneyi;
	double money1;
	char money2[100];
};

int main()
{
	union MoneyType money;

	money.money1 = 1023.12;
	//money.moneyi = 100;

	printf("%0.2lf", money.money1);
	//printf("%d", money.moneyi);
	return 0;
}